from pyecharts.charts import Pie
from pyecharts import options
data =[("南昌",40),("北京",30),("上海",20),("成都",10)]
pie=Pie()
pie.add("单位/个",data)
pie.set_global_opts(title_opts=options.TitleOpts(title="各城市的岗位数量图"))
pie.render("piera.html")